package com.yuzhi.master.drainStPptnr.service;

import com.yuzhi.common.core.page.PageDataInfo;
import com.yuzhi.master.drainRainfallData.domain.vo.DrainStPptnRTjVo;
import com.yuzhi.master.drainStPptnr.domain.bo.DrainStPptnRBo;
import com.yuzhi.master.drainStPptnr.domain.request.DrainStPptnrReq;
import com.yuzhi.master.drainStPptnr.domain.vo.DrainStPptnrCharVo;
import com.yuzhi.master.drainStPptnr.domain.vo.DrainStPptnrVo;
import com.yuzhi.master.sewage.rmstSz.entity.request.DrainRmstSzReq;

import java.util.List;
import java.util.Map;

public interface DrainStPptnrService {

    DrainStPptnrVo getDrainStPptnr(String stcd);

    List<DrainStPptnrCharVo> getChartData(DrainStPptnrReq req);

    /**
     * 将kafuka监听到的雨量消息进行保存消息
     */
    void saveMessage(String msg);

    /**
     * 监测预警展示数据
     */
    PageDataInfo monitorData(DrainStPptnRBo bo);

    /**
     * 查询小时雨量
     */
    PageDataInfo<DrainStPptnRTjVo> dailyRainfall(DrainStPptnRBo bo);

    List<Map<String, Object>> getRainfallData(DrainRmstSzReq req);

    /**
     * 雨量分析统计
     * @param bo
     * @return
     */
    PageDataInfo<DrainStPptnrVo> getRainfallPageData(DrainStPptnRBo bo);

}
